package com.ehome.poct.base.dao.device.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ehome.poct.base.api.dto.device.TestDeviceClinicDTO;
import com.ehome.poct.base.api.vo.device.TestDeviceClinicVO;
import com.ehome.poct.base.dao.device.entity.TestDeviceDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备表Mapper
 *
 * @author muqiu
 * @Date 2022-02-24 09:23
 */
@Mapper
public interface TestDeviceMapper extends BaseMapper<TestDeviceDO> {
    List<Long> getAllBindClinic();
    
    List<TestDeviceClinicVO> getDeviceBySno(@Param("queryDTO") TestDeviceClinicDTO query);
}